/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author Enrique
 */
public class Arista {
    
    // ATRIBUTOS
    
    private Vuelo vuelo;
    private Nodo nodoInicial;
    private Nodo nodoFinal;
    
    // CONSTRUCTORES

    public Arista(){
        
    }
    
    public Arista(Vuelo vuelo, Nodo nodoInicial, Nodo nodoFinal) {
        this.vuelo = vuelo;
        this.nodoInicial = nodoInicial;
        this.nodoFinal = nodoFinal;
    }
    
      
    // SETTERS Y GETTERS

    public void setVuelo(Vuelo vuelo) {
        this.vuelo = vuelo;
    }

    public void setNodoInicial(Nodo nodoInicial) {
        this.nodoInicial = nodoInicial;
    }

    public void setNodoFinal(Nodo nodoFinal) {
        this.nodoFinal = nodoFinal;
    }

    public Vuelo getVuelo() {
        return vuelo;
    }

    public Nodo getNodoInicial() {
        return nodoInicial;
    }

    public Nodo getNodoFinal() {
        return nodoFinal;
    }
    
    
    
    
}
